/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@TableName("user_resident_personnel")
public class ResidentEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private int userId;

    /**
     * 手机号
     */
    @TableField("iphone")
    private String iphone;

    /**
     * 身份证号
     */
    @TableField("ID")
    private String ID;

    private String name;
    /**
     * 微信openid
     */
    @TableField("open_id")
    private String openId;
    /**
     * 人员类型
     */

    private int classification;

    @TableField("CarDealer")
    private String cardealer;
    /**
     * 有效期
     */
    @TableField("dateTime1")
    private String datetime1;
    /**
     * 照片目录以及文件名
     */
    private String picture;
    private String sex;
    @TableField("purchasePlant")
    private String purchaseplant;
}
